﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// CPU调价 主表
    /// </summary>
    [SugarTable("CPUAdjustHeader")]
    public class CPUAdjustHeader : BaseHead
    {
        /// <summary>
        /// 流程名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 销售组织(开盘公司)
        /// </summary>
        public string SaleRegion { get; set; }

        /// <summary>
        /// 事业部
        /// </summary>
        public string AppoverType { get; set; }

        /// <summary>
        /// 行业
        /// </summary>
        public string AutoType { get; set; }

        /// <summary>
        /// 细分市场
        /// </summary>
        public string AutoType2 { get; set; }

        /// <summary>
        /// 客户类型
        /// </summary>
        public string CustomerStatus { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        public string BusinessOpportunities { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerNO { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户分级
        /// </summary>
        public string CustomerRank { get; set; }


        /// <summary>
        /// 价格有效截止日期
        /// </summary>
        public DateTime PriceEndtime { get; set; }

        /// <summary>
        /// 盘点和结算的月份
        /// </summary>
        public string SettlementMonth { get; set; }

        /// <summary>
        /// 结算调整Total
        /// </summary>
        public string SettlementAdjustTotal { get; set; }

        /// <summary>
        /// 结算Total
        /// </summary>
        public string SettlementTotal { get; set; }

        /// <summary>
        /// 本月结算产品整体RMC（移动平均价）
        /// </summary>
        public string TotalRMCRatio { get; set; }

        /// <summary>
        /// 本月结算产品整体RMC2（最新采购价）
        /// </summary>
        public string TotalRMC2Ratio { get; set; }

        /// <summary>
        /// 本月结算产品整体毛利（移动平均价）
        /// </summary>
        public string TotalGrossProfit1 { get; set; }

        /// <summary>
        /// 本月结算产品整体毛利2（最新采购价）
        /// </summary>
        public string TotalGrossProfit2 { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 盘点人名称
        /// </summary>
        public string ApproverName { get; set; }

        /// <summary>
        /// 盘点日期
        /// </summary>
        public string ApproveTime { get; set; }

        /// <summary>
        /// 销售行政专员
        /// </summary>
        public string XSXZZYName { get; set; }

        /// <summary>
        ///  行数据
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public List<AdjustDetail> LineData { get; set; }
    }
}
